﻿<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
	<title>@(ViewBag.SysName) - @ViewBag.Title</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="~/theme/style.black.css" rel="stylesheet" id="themeCss" />
	<environment include="Development">
		<link href="~/css/app.css" rel="stylesheet" asp-append-version="true" />
	</environment>
	<environment exclude="Development">
		<link href="~/css/app.css" rel="stylesheet" asp-append-version="true" />
	</environment>
	<link href="~/css/buttons-min.css" rel="stylesheet" asp-append-version="true" />
	<link href="//at.alicdn.com/t/font_1956173_tc74it1f66.css" rel="stylesheet" asp-append-version="true" />
	<link href="~/lib/dropzone/basic.min.css" rel="stylesheet" asp-append-version="true" />
	<link href="~/lib/dropzone/dropzone.min.css" rel="stylesheet" asp-append-version="true" />
	<style>
		.dropzone .dz-message {
			line-height: 160px;
			margin: 0;
		}

		.dropzone {
			min-height: 160px;
			padding: 0;
		}
	</style>
	<script>
		var globalData = {
			baseUrl:'@(Context.Request.PathBase)',
			loginUrl:'@(Url.Action("Login","Sys_User"))'
		};
		(function () {
			var theme = localStorage.getItem('theme');
			if (theme) {
				document.getElementById('themeCss').href = document.getElementById('themeCss').href.replace(/style\.[a-z]+\.css/, 'style.' + theme + '.css');
			}
		})();
	</script>
	<script>
		if (navigator.userAgent.indexOf('Trident') > -1 && navigator.userAgent.indexOf("rv:11.0") > -1) {//ie11
			document.write('\x3Cscript src="' + globalData.baseUrl + '/js/ie11.js" asp-append-version="true">\x3C/script>');
		}
	</script>
	@RenderSection("header", required: false)
</head>
<body class="small" style="margin: 0; padding: 0;">
	@RenderBody()
	<script src="~/lib/dropzone/dropzone.min.js" asp-append-version="true"></script>
	@RenderSection("footer", required: false)
</body>
</html>
